package com.springcloud.play.mapper;

import com.springcloud.play.novel.model.Novel;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface NovelMapper {
    int insert(Novel novel);
    int update(Novel novel);
    Novel selectById(Long id);
    Novel selectByTitle(String title);
    List<Novel> selectList();
    int deleteById(Long id);
}